<!doctype html>
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
    <title>SIS Statistics Tool</title>	
    <link rel="stylesheet" type="text/css" href="style.css"/>
    <!-- JavaScript and HTML must be in separate files for security. -->
    <script src="js/util.js"  charset="utf-8"></script>
    <script src="js/sis/extract_sis_discuz6.0.js" charset="utf-8"></script>
    <script src="js/dao.js" charset="utf-8"></script>
    <script src="js/font.js" charset="utf-8"></script>
    <script src="js/objects.js" charset="utf-8"></script>
    <script src="js/spider.js" charset="utf-8"></script>
    <script src="js/post.js" charset="utf-8"></script>
    <script src="js/sign.js" charset="utf-8"></script>
    <script src="js/main.js" charset="utf-8"></script>
    <script src="js/options.js" charset="utf-8"></script>
    <script src="js/rate.js" charset="utf-8"></script>
    <script src="js/manage_module.js" charset="utf-8"></script>
    <script src="js/sign_stat.js" charset="utf-8"></script>
    <script src="js/ui.js" charset="utf-8"></script>
  </head>
<body>
	<div id='div_tab' style="width:100%;height:18px">
	</div>
	<div id='div_content' style="width:100%;">
		<div id="sign_div" style="width:100%;display:none;">
			<div>
				<label for="space_url">Space URL:</label><input type='text' id="space_url" size='100'></input><br/>
				<label for="sign_pages">Add new sign page:</label><input type='text' id="sign_page" size='90'></input>&nbsp;<input type='button' id="add_sign_page" value="+" style="width:10"></input><br/>
				<input type="button" name="sign_all" value="Sign All"/>
			</div>
			<div id="sign_area" style="width:100%;">
			</div>
		</div>
		<div id="statistics_div" style="width:100%;display:none;">
			<div style="width:100%">
				<table>
				<tr>
				<td valign="top">
					<label for="sessions">Saved Sessions</label>
					<br/>
					<select id="sessions" style="width:400px;height:300px;" multiple>
						<option id='-1'>New</option>
					</select>
				</td>
				<td valign="top">
					<label id='thread_title'>Title: </label><label id="title"></label>
					<br/>
					<label id='thread_url' for="url">URL: </label><input type='url' id='url' size=80></input>
					<br/>
					<label for="from_time">Time from: </label><input type='datetime' id='from_time'></input>
					<label for="to_time">to: </label><input type='datetime' id='to_time'></input>
					<br/>
					<label for="from_floor">Floor from: </label><input type='number' id='from_floor' min="1"></input>
					<label for="to_floor">to: </label><input type='number' id='to_floor' min="1"></input>
					<br/>
					<input type='button' id='btn_start' style="align:center" value='Start'></input>
					<input type='button' id='btn_reset' style="align:center" value='Reset'></input>
					<input type='button' id='btn_delete' style="align:center" value='Delete'></input>
					<input type='button' id='btn_post' style="align:center" value='Post'></input>
					<br/>
					<label for="post_url">Post URL: </label><input type='text' id='post_url' size=80></input>
					<br/>
					<label for="session_delay">Delay:</label><input type='text' id="session_delay" size=5 value='10'></input>Seconds
				</td>
				</tr>
				</table>
			</div>
			<div style="width:100%;">
				<label for="result" >Result</label>
				<div id='result'></div>
			</div>
		</div>
		<div id="div_options" style="display:none;width:100%;">
			<label for="url_prefix">URL Prefix:</label><input type='text' id="url_prefix" size='30'></input>
			<br/>
			<label for="managed_module">Managed Module:</label><input type='text' id="managed_module" size='30'></input>&nbsp;
			<label for="mm_type">Type:</label>
			<select id="mm_type"><option value="mm" select>Forum Module</option><option value="ss">Sign page statistics</option></select>&nbsp;
			<input type='button' id="add_managed_module" value="+" style="width:10"></input>
			<div id="managed_modules_area" style="width:100%;">No managed module</div>
		</div>
	</div>
	<div style="width:100%;height:100;">
		<label style="margin-left:10px;margin-right:10px;margin-bottom:10px;">Log</label>
		<div id='status' style="margin:10px;width:100%"></div>
	</div>
	<form id='post_form' name='post_form' method="post">
			<input type='hidden' id='formhash' name='formhash'/>
			<input type='hidden' id='usesig' name='usesig'/>
			<input type='hidden' id='message' name='message'/>
	</form>
	<form id="rate_form" name="rate_form" method="post">
		<input type='hidden' id='formhash' name='formhash'/>
		<input type='hidden' id='ratesubmit' name='ratesubmit'/>
		<input type='hidden' id='referer' name='referer'/>
		<input type='hidden' id='score1' name='score1'/> 
		<input type='hidden' id='score2' name='score2'/> 
		<input type='hidden' id='score3' name='score3'/>
		<input type='hidden' id='score6' name='score6'/>
		<input type='hidden' id='selectreason' name='selectreason'/>
		<input type='hidden' id='reason' name='reason'/>
		<input type='hidden' id='tid' name='tid'/>
		<input type='hidden' id='pid' name='pid'/>
		<input type='hidden' id='page' name='page'/>
	</form>
	<iframe name='_hidden_frame' style="display:none;"></iframe>
</body>
</html>
